package com.sunrise.generico.repositorio;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.sunrise.generico.acesso.DaoNegocioService;
import com.sunrise.generico.entidade.IPI;
import com.sunrise.generico.repositorio.iface.IPIDao;

@Repository(value = "ipiDaoImpl")
public class IPIDaoImpl extends DaoNegocioService<IPI> implements
		IPIDao {

	public List<IPI> listarOrdenado() {
		return listar(IPI.class);
	}

	public IPI getById(Long id) {
		return getById(id, IPI.class);
	}

}
